<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>登录</title>
</head>
<body>

	<div class="header" style="background: #000000;">
		<div class="fixed-header">
			<div class="navbar-wrapper">
				<div class="container">
					<nav class="navbar navbar-inverse navbar-static-top"
						style="background: #000000;">
					<div class="navbar-header">
						<button type="button" class="navbar-toggle collapsed"
							data-toggle="collapse" data-target="#navbar"
							aria-expanded="false" aria-controls="navbar">
							<span class="sr-only">Toggle navigation</span> <span
								class="icon-bar"></span> <span class="icon-bar"></span> <span
								class="icon-bar"></span>
						</button>
						<div class="logo wow slideInLeft" data-wow-delay="0.3s">
							<a class="navbar-brand" style="margin-top: 10px;"
								href="index.jsp"><img src="bootstrapusers/images/logo1.png" /></a>
						</div>
					</div>
					<div id="navbar" class="navbar-collapse collapse">
						<nav class="cl-effect-16" id="cl-effect-16">
						<ul class="nav navbar-nav">
							<li><a class="success" href="index">首页</a></li>
							<li><a class="success" href="single"> W S信息圈</a></li>
							<li><c:if test="${sessionScope.user!=null}">
							<a href="personalpage" >个人中心</a>
							</c:if>
						<%-- 	<c:if test="${sessionScope.user==null}">
							<a href="personalpage" style="display: none" >个人中心</a>
							<meta http-equiv="refresh" content="0;url=login1">
							</c:if>
							 --%>
							
							</li>
							<li><a href="room">房间概览</a></li>
							<li><a href="shortcodes">预定</a></li>
							<li><a href="about">关于我们</a></li>
							<li><a href="contact">联系我们</a></li>
							<li><c:if test="${sessionScope.user==null}">
									<a class="success" href="login1">登录</a>
								</c:if>
								 <c:if test="${sessionScope.user.username != null}">
									<a href="personalpage">${sessionScope.user.username}</a>
									
									<%-- 	<dl >
										<dd>
											<a class="success" href="">${sessionScope.user.username}</a>
										</dd>
										<dd>
											<a class="success" href="">个人中心</a>
										</dd>
										<dd>
											<a class="success" href="set/user/password.html">修改密码</a>
										</dd>
										<dd >
											<a href="userloginOut">退出</a>
										</dd>
									</dl> --%>
								</c:if>
							<li><a href="userloginOut">退出</a></li>
						</ul>
						</nav>
				</div>
				<div class="clearfix"></div>
			</div>
		</div>
	</div>
	</div>
</body>
</html>